package org.soenea.doitall.domain.command;

import org.dsrg.soenea.domain.MapperException;
import org.dsrg.soenea.domain.command.CommandError;
import org.dsrg.soenea.domain.command.CommandException;
import org.dsrg.soenea.domain.command.DomainCommand;
import org.dsrg.soenea.domain.helper.Helper;
import org.soenea.doitall.domain.model.person.mapper.PersonInputMapper;

public class LogoutCommand extends DomainCommand {

	public LogoutCommand(Helper helper) {
		super(helper);
	}

	@Override
	public void setUp() throws CommandException {
	}

	@Override
	public void process() throws CommandException {
			helper.setSessionAttribute("userID", "");
	}

	@Override
	public void tearDown() throws CommandError {
	}

}
